package com.example.mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("t_food")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Food {
	@TableId(value = "foodId",type = IdType.AUTO)
	private Integer foodId;
	private String foodName;
	private String foodExplain;
	private Double foodPrice;
	private String foodImg;
	private Integer businessId;
	private String remarks;

	@TableField(exist = false)
	private Business business;

}
